package com.gyp.dto.user;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class CreateAnimationTaskDTO {

    @ApiModelProperty("音频文件url")
    @JsonProperty("audio_file_download_url")
    @NotBlank(message = "音频文件url不能为空")
    private String audioFile;

    @ApiModelProperty("期望输出的帧率")
    @JsonProperty("frame_rate")
    @NotNull(message = "期望输出的帧率不能为空")
    private Integer frameRate;

    @ApiModelProperty("备注")
    @NotBlank(message = "备注不能为空")
    private String remark;

}
